package com.wangyuhang.service.impl;

import com.wangyuhang.dao.userDao;
import com.wangyuhang.service.userService;
import com.wangyuhang.vo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class userServiceImpl implements userService {
    @Autowired
    private userDao dao;


    @Override
    public User selectUser(String name) {
        return dao.selectUser(name);

    }

//    @Override
//    public void print() {
//        System.out.println("print");
//    }
}
